import request from '../utils/request';

/**
 * 查询菜单列表
 * @param query
 * @returns {AxiosPromise}
 */
export const selectMenu = query => {
    return request({
        url: 'rest/sysMenu/selectAll',
        method: 'POST',
        data: query
    });
};